package com.marce.remis.flexClient.model
{
	import mx.core.Singleton;
	
	public class ModelLocator
	{
		private static var _instance:ModelLocator=null;
		
		public var usuarioModel:UsuarioModel;
		public var remisesModel:RemisesModel;
		
		public function ModelLocator(singleton:Singleton)
		{
			usuarioModel = new UsuarioModel();
			remisesModel = new RemisesModel();
		}
		
		public static function get instance():ModelLocator{
			if(!_instance) _instance = new ModelLocator(new Singleton());
			return _instance;
		}

	}
}
class Singleton{
	public function Singleton(){}
}